import BaseApi from '../BaseApi';

const controller = "/clarify";

export default {

    postListClarify(condition) {
        return this.requestPost(controller, "/listClarifyPage", condition);
    },

    postFindClarifyDetail(condition) {
        return this.requestPost(controller, "/findClarifyDetail", condition);
    },

    sumClarifyAmount(condition) {
        return this.requestPost(controller, "/sumClarifyAmount", condition);
    },
  
    /*请求封装*/
    requestPost(controller, url, condition) {
        let newUrl = controller + url;
        return BaseApi.requestPost(newUrl, condition);

    },
}